const express = require('express')
const router = express.Router()
//将路由处理逻辑模块化
const controller = require('../controller/curriculum')


//添加课程
router.post('/AddCurriculum',controller.AddCurriculum)

//查询课程
router.get('/GetCurriculum',controller.GetCurriculum)

//删除课程
router.delete('/DeleteCurriculum',controller.DeleteCurriculum)

//修改课程
router.post('/UploadCurriculum',controller.UploadCurriculum)




module.exports=router
